how to read qr code in python